﻿<%@ Register Tagprefix="Selectors" Namespace="EnGasAdoAPP" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Tagprefix="EnGasAdoAPP" TagName="PaginationMedium" Src="../Shared/PaginationMedium.ascx" %>

<%@ Register Tagprefix="EnGasAdoAPP" TagName="ThemeButton" Src="../Shared/ThemeButton.ascx" %>

<%@ Register Tagprefix="EnGasAdoAPP" Namespace="EnGasAdoAPP.UI.Controls.EditGasolinera" %>

<%@ Page Language="C#" EnableEventValidation="false" AutoEventWireup="false" CodeFile="EditGasolinera.aspx.cs" Culture="es-ES" MasterPageFile="../Master Pages/HorizontalMenu.master" Inherits="EnGasAdoAPP.UI.EditGasolinera" %>
<%@ Register Tagprefix="BaseClasses" Namespace="BaseClasses.Web.UI.WebControls" Assembly="BaseClasses" %><asp:Content id="PageSection" ContentPlaceHolderID="PageContent" Runat="server">
    <a id="StartOfPageContent"></a>
    <asp:UpdateProgress runat="server" id="UpdatePanel1_UpdateProgress1" AssociatedUpdatePanelID="UpdatePanel1">
			<ProgressTemplate>
				<div class="ajaxUpdatePanel">
				</div>
				<div style=" position:absolute; padding:30px;">
					<img src="../Images/updating.gif" alt="Updating" />
				</div>
			</ProgressTemplate>
		</asp:UpdateProgress>
		<asp:UpdatePanel runat="server" id="UpdatePanel1" UpdateMode="Conditional">
			<ContentTemplate>
				<input type="hidden" id="_clientSideIsPostBack" name="clientSideIsPostBack" runat="server" />

                <table cellpadding="0" cellspacing="0" border="0"><tr><td><%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControlRecursively("CancelButton"))%>
<%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControlRecursively("EditButton"))%>
<%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControlRecursively("OKButton"))%>
<%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControlRecursively("SaveAndNewButton"))%>
<%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControlRecursively("SaveButton"))%>

                        <EnGasAdoAPP:GasolineraRecordControl runat="server" id="GasolineraRecordControl">	<table class="dv" cellpadding="0" cellspacing="0" border="0"><tr><td class="dh"><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="dhel"><img src="../Images/space.gif" alt="" /></td><td class="dhb"><table cellpadding="0" cellspacing="0" border="0"><tr><td class="dht" valign="middle"><asp:Literal runat="server" id="GasolineraTitle" Text="&lt;%#String.Concat(GetResourceValue(&quot;Title:Edit&quot;),&quot; Gasolinera&quot;) %>">	</asp:Literal></td></tr></table>
</td><td class="dher"><img src="../Images/space.gif" alt="" /></td></tr></table>
</td></tr><tr><td><asp:panel id="GasolineraRecordControlCollapsibleRegion" runat="server"><table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><asp:panel id="GasolineraRecordControlPanel" runat="server"><table cellpadding="0" cellspacing="0" border="0"><tr><td class="fls"><asp:Literal runat="server" id="Nombre_GasolineraLabel" Text="Nombre Gasolinera">	</asp:Literal></td><td class="dfv"><asp:TextBox runat="server" id="Nombre_Gasolinera" Columns="50" MaxLength="50" cssclass="field_input"></asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="Nombre_GasolineraTextBoxMaxLengthValidator" ControlToValidate="Nombre_Gasolinera" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;Nombre Gasolinera&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator> </td><td class="fls"><asp:Literal runat="server" id="latitudLabel" Text="Latitud">	</asp:Literal></td><td class="dfv"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px; vertical-align:top">
<asp:TextBox runat="server" id="latitud" Columns="20" MaxLength="20" onkeyup="adjustInteger(this, event.keyCode)" cssclass="field_input"></asp:TextBox></td>
<td style="padding-right: 5px; white-space:nowrap;">
<%# SystemUtils.GenerateIncrementDecrementButtons(false, FindControlRecursively("latitud"),"NumberTextBox","","","") %>
</td>
<td>
&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="latitudTextBoxMaxLengthValidator" ControlToValidate="latitud" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;Latitud&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
</tr>
</table>
 </td></tr><tr><td class="fls"><asp:Literal runat="server" id="longitudLabel" Text="Longitud">	</asp:Literal></td><td class="dfv"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px; vertical-align:top">
<asp:TextBox runat="server" id="longitud" Columns="20" MaxLength="20" onkeyup="adjustInteger(this, event.keyCode)" cssclass="field_input"></asp:TextBox></td>
<td style="padding-right: 5px; white-space:nowrap;">
<%# SystemUtils.GenerateIncrementDecrementButtons(false, FindControlRecursively("longitud"),"NumberTextBox","","","") %>
</td>
<td>
&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="longitudTextBoxMaxLengthValidator" ControlToValidate="longitud" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;Longitud&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
</tr>
</table>
 </td><td class="fls"><asp:Literal runat="server" id="DescripcionLabel" Text="Descripcion">	</asp:Literal></td><td class="dfv"><asp:TextBox runat="server" id="Descripcion" Columns="50" MaxLength="50" cssclass="field_input"></asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="DescripcionTextBoxMaxLengthValidator" ControlToValidate="Descripcion" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;Descripcion&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator> </td></tr><tr><td class="fls"><asp:Literal runat="server" id="ObservacionesLabel" Text="Observaciones">	</asp:Literal></td><td class="dfv"><asp:TextBox runat="server" id="Observaciones" Columns="10" MaxLength="10" cssclass="field_input"></asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="ObservacionesTextBoxMaxLengthValidator" ControlToValidate="Observaciones" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;Observaciones&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator> </td><td class="fls"><asp:Literal runat="server" id="ID_marcaLabel" Text="ID Marca">	</asp:Literal></td><td class="dfv" style="white-space:nowrap;"><asp:DropDownList runat="server" id="ID_marca" cssclass="field_input" onkeypress="dropDownListTypeAhead(this,false)"></asp:DropDownList>
<Selectors:FvLlsHyperLink runat="server" id="ID_marcaFvLlsHyperLink" ControlToUpdate="ID_marca" Text="&lt;%# GetResourceValue(&quot;LLS:Text&quot;, &quot;EnGasAdoAPP&quot;) %>" MinListItems="100" Table="Marca_gasolinera" Field="Marca_gasolinera_.ID_Marca" DisplayField="Marca_gasolinera_.Descripcion"></Selectors:FvLlsHyperLink> 
<asp:ImageButton runat="server" id="ID_marcaAddRecordLink" causesvalidation="False" commandname="Redirect" imageurl="../Images/iconNewFlat.gif" tooltip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton> </td></tr><tr><td class="fls"><asp:Literal runat="server" id="GEOLocalisacionLabel" Text="GEO Localisacion">	</asp:Literal></td><td class="dfv" colspan="3"><asp:TextBox runat="server" id="GEOLocalisacion" MaxLength="50" columns="60" cssclass="field_input" rows="2" textmode="MultiLine"></asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="GEOLocalisacionTextBoxMaxLengthValidator" ControlToValidate="GEOLocalisacion" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;GEO Localisacion&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator> </td></tr></table></asp:panel>
</td></tr></table>
</asp:panel></td></tr></table>
</EnGasAdoAPP:GasolineraRecordControl>

            <%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControlRecursively("SaveButton"))%>
<%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControlRecursively("SaveAndNewButton"))%>
<%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControlRecursively("OKButton"))%>
<%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControlRecursively("EditButton"))%>
<%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControlRecursively("CancelButton"))%>
</td></tr><tr><td><asp:TabContainer runat="server" id="GasolineraTabContainer">
 <asp:TabPanel runat="server" id="GasolineraXTipoGasolineraTabPanel" HeaderText="Gasolinera X Tipo Gasolinera">	<ContentTemplate>
  <EnGasAdoAPP:GasolineraXTipoGasolineraTableControl runat="server" id="GasolineraXTipoGasolineraTableControl">	<table class="dv" cellpadding="0" cellspacing="0" border="0"><tr><td><asp:panel id="GasolineraXTipoGasolineraTableControlCollapsibleRegion" runat="server"><table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="pr"><table cellpadding="0" cellspacing="0" border="0" style="width: 100%;"><tr><td><img src="../Images/paginationRowEdgeL.gif" alt="" /></td><td class="prbbc"><img src="../Images/ButtonBarEdgeL.gif" alt="" /></td><td class="prbbc"><img src="../Images/ButtonBarDividerL.gif" alt="" /></td><td class="prbbc"><asp:ImageButton runat="server" id="GasolineraXTipoGasolineraAddButton" causesvalidation="False" commandname="AddRecord" imageurl="../Images/ButtonBarNew.gif" onmouseout="this.src='../Images/ButtonBarNew.gif'" onmouseover="this.src='../Images/ButtonBarNewOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="prbbc"><asp:ImageButton runat="server" id="GasolineraXTipoGasolineraDeleteButton" causesvalidation="False" commandargument="DeleteOnUpdate" commandname="DeleteRecord" imageurl="../Images/ButtonBarDelete.gif" onmouseout="this.src='../Images/ButtonBarDelete.gif'" onmouseover="this.src='../Images/ButtonBarDeleteOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Delete&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="prbbc"><img src="../Images/ButtonBarDividerR.gif" alt="" /></td><td class="prspace"><img src="../Images/ButtonBarEdgeR.gif" alt="" /></td><td class="pra"><EnGasAdoAPP:PaginationMedium runat="server" id="GasolineraXTipoGasolineraPagination"></EnGasAdoAPP:PaginationMedium>
<!--To change the position of the pagination control, please search for "prspace" on the Online Help for instruction. -->
                      </td><td><img src="../Images/paginationRowEdgeR.gif" alt="" /></td><td></td></tr></table>
</td></tr><tr><td class="tre"><table cellpadding="0" cellspacing="0" border="0" width="100%" onkeydown="captureUpDownKey(this, event)"><tr class="tch"><th class="thcnb" colspan="3"><img src="../Images/space.gif" height="1" width="1" alt="" /></th><th class="thcwb" style="padding:0px;vertical-align:middle;"><asp:CheckBox runat="server" id="GasolineraXTipoGasolineraToggleAll" onclick="toggleAllCheckboxes(this);">	</asp:CheckBox></th><th class="thc" scope="col"><asp:LinkButton runat="server" id="ID_Tipo_ServicioLabel" tooltip="Sort by ID_Tipo_Servicio" Text="ID Tipo Servicio" CausesValidation="False">	</asp:LinkButton>
                        </th></tr><asp:Repeater runat="server" id="GasolineraXTipoGasolineraTableControlRepeater">		<ITEMTEMPLATE>		<EnGasAdoAPP:GasolineraXTipoGasolineraTableControlRow runat="server" id="GasolineraXTipoGasolineraTableControlRow">
<tr><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="GasolineraXTipoGasolineraRowViewButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_view.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:ViewRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="GasolineraXTipoGasolineraRowEditButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_edit.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:EditRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="GasolineraXTipoGasolineraRowDeleteButton" causesvalidation="False" commandargument="DeleteOnUpdate" commandname="DeleteRecord" cssclass="button_link" imageurl="../Images/icon_delete.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:DeleteRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticwb"><asp:CheckBox runat="server" id="GasolineraXTipoGasolineraRecordRowSelection" onclick="moveToThisTableRow(this);">	</asp:CheckBox></td><td class="ttc" style="white-space:nowrap;"><asp:DropDownList runat="server" id="ID_Tipo_Servicio" cssclass="field_input" onkeypress="dropDownListTypeAhead(this,false)"></asp:DropDownList>
<Selectors:FvLlsHyperLink runat="server" id="ID_Tipo_ServicioFvLlsHyperLink" ControlToUpdate="ID_Tipo_Servicio" Text="&lt;%# GetResourceValue(&quot;LLS:Text&quot;, &quot;EnGasAdoAPP&quot;) %>" MinListItems="100" Table="Tipo_Servicio" Field="Tipo_Servicio_.ID_Tipo_Servicio" DisplayField="Tipo_Servicio_.Descripcion"></Selectors:FvLlsHyperLink>&nbsp;
<asp:RequiredFieldValidator runat="server" id="ID_Tipo_ServicioRequiredFieldValidator" ControlToValidate="ID_Tipo_Servicio" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueIsRequired&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;ID Tipo Servicio&quot;) %>" enabled="True" initialvalue="--PLEASE_SELECT--" text="*"></asp:RequiredFieldValidator> 
<asp:ImageButton runat="server" id="ID_Tipo_ServicioAddRecordLink" causesvalidation="False" commandname="Redirect" imageurl="../Images/iconNewFlat.gif" tooltip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton> </td></tr></EnGasAdoAPP:GasolineraXTipoGasolineraTableControlRow>
</ITEMTEMPLATE>

</asp:Repeater>
</table>
</td></tr></table>
</asp:panel></td></tr></table>
</EnGasAdoAPP:GasolineraXTipoGasolineraTableControl>

 </ContentTemplate></asp:TabPanel>
 <asp:TabPanel runat="server" id="Tbl_gasolinera_x_rutaTabPanel" HeaderText="Gasolinera X Ruta">	<ContentTemplate>
  <EnGasAdoAPP:Tbl_gasolinera_x_rutaTableControl runat="server" id="Tbl_gasolinera_x_rutaTableControl">	<table class="dv" cellpadding="0" cellspacing="0" border="0"><tr><td><asp:panel id="Tbl_gasolinera_x_rutaTableControlCollapsibleRegion" runat="server"><table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="pr"><table cellpadding="0" cellspacing="0" border="0" style="width: 100%;"><tr><td><img src="../Images/paginationRowEdgeL.gif" alt="" /></td><td class="prbbc"><img src="../Images/ButtonBarEdgeL.gif" alt="" /></td><td class="prbbc"><img src="../Images/ButtonBarDividerL.gif" alt="" /></td><td class="prbbc"><asp:ImageButton runat="server" id="Tbl_gasolinera_x_rutaAddButton" causesvalidation="False" commandname="AddRecord" imageurl="../Images/ButtonBarNew.gif" onmouseout="this.src='../Images/ButtonBarNew.gif'" onmouseover="this.src='../Images/ButtonBarNewOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="prbbc"><asp:ImageButton runat="server" id="Tbl_gasolinera_x_rutaDeleteButton" causesvalidation="False" commandargument="DeleteOnUpdate" commandname="DeleteRecord" imageurl="../Images/ButtonBarDelete.gif" onmouseout="this.src='../Images/ButtonBarDelete.gif'" onmouseover="this.src='../Images/ButtonBarDeleteOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Delete&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="prbbc"><img src="../Images/ButtonBarDividerR.gif" alt="" /></td><td class="prspace"><img src="../Images/ButtonBarEdgeR.gif" alt="" /></td><td class="pra"><EnGasAdoAPP:PaginationMedium runat="server" id="Tbl_gasolinera_x_rutaPagination"></EnGasAdoAPP:PaginationMedium>
<!--To change the position of the pagination control, please search for "prspace" on the Online Help for instruction. -->
                      </td><td><img src="../Images/paginationRowEdgeR.gif" alt="" /></td><td></td></tr></table>
</td></tr><tr><td class="tre"><table cellpadding="0" cellspacing="0" border="0" width="100%" onkeydown="captureUpDownKey(this, event)"><tr class="tch"><th class="thcnb" colspan="3"><img src="../Images/space.gif" height="1" width="1" alt="" /></th><th class="thcwb" style="padding:0px;vertical-align:middle;"><asp:CheckBox runat="server" id="Tbl_gasolinera_x_rutaToggleAll" onclick="toggleAllCheckboxes(this);">	</asp:CheckBox></th><th class="thc" scope="col"><asp:LinkButton runat="server" id="id_rutaLabel" tooltip="Sort by id_ruta" Text="ID Ruta" CausesValidation="False">	</asp:LinkButton>
                        </th></tr><asp:Repeater runat="server" id="Tbl_gasolinera_x_rutaTableControlRepeater">		<ITEMTEMPLATE>		<EnGasAdoAPP:Tbl_gasolinera_x_rutaTableControlRow runat="server" id="Tbl_gasolinera_x_rutaTableControlRow">
<tr><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="Tbl_gasolinera_x_rutaRowViewButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_view.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:ViewRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="Tbl_gasolinera_x_rutaRowEditButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_edit.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:EditRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="Tbl_gasolinera_x_rutaRowDeleteButton" causesvalidation="False" commandargument="DeleteOnUpdate" commandname="DeleteRecord" cssclass="button_link" imageurl="../Images/icon_delete.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:DeleteRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticwb"><asp:CheckBox runat="server" id="Tbl_gasolinera_x_rutaRecordRowSelection" onclick="moveToThisTableRow(this);">	</asp:CheckBox></td><td class="ttc" style="white-space:nowrap;"><asp:DropDownList runat="server" id="id_ruta" cssclass="field_input" onkeypress="dropDownListTypeAhead(this,false)"></asp:DropDownList>
<Selectors:FvLlsHyperLink runat="server" id="id_rutaFvLlsHyperLink" ControlToUpdate="id_ruta" Text="&lt;%# GetResourceValue(&quot;LLS:Text&quot;, &quot;EnGasAdoAPP&quot;) %>" MinListItems="100" Table="tbl_ruta" Field="Tbl_ruta_.id_ruta" DisplayField="Tbl_ruta_.nombre_ruta"></Selectors:FvLlsHyperLink>&nbsp;
<asp:RequiredFieldValidator runat="server" id="id_rutaRequiredFieldValidator" ControlToValidate="id_ruta" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueIsRequired&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;ID Ruta&quot;) %>" enabled="True" initialvalue="--PLEASE_SELECT--" text="*"></asp:RequiredFieldValidator> 
<asp:ImageButton runat="server" id="id_rutaAddRecordLink" causesvalidation="False" commandname="Redirect" imageurl="../Images/iconNewFlat.gif" tooltip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton> </td></tr></EnGasAdoAPP:Tbl_gasolinera_x_rutaTableControlRow>
</ITEMTEMPLATE>

</asp:Repeater>
</table>
</td></tr></table>
</asp:panel></td></tr></table>
</EnGasAdoAPP:Tbl_gasolinera_x_rutaTableControl>

 </ContentTemplate></asp:TabPanel>
 <asp:TabPanel runat="server" id="Tbl_usuario_x_gasolineraTabPanel" HeaderText="Usuario X Gasolinera">	<ContentTemplate>
  <EnGasAdoAPP:Tbl_usuario_x_gasolineraTableControl runat="server" id="Tbl_usuario_x_gasolineraTableControl">	<table class="dv" cellpadding="0" cellspacing="0" border="0"><tr><td><asp:panel id="Tbl_usuario_x_gasolineraTableControlCollapsibleRegion" runat="server"><table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="pr"><table cellpadding="0" cellspacing="0" border="0" style="width: 100%;"><tr><td><img src="../Images/paginationRowEdgeL.gif" alt="" /></td><td class="prbbc"><img src="../Images/ButtonBarEdgeL.gif" alt="" /></td><td class="prbbc"><img src="../Images/ButtonBarDividerL.gif" alt="" /></td><td class="prbbc"><asp:ImageButton runat="server" id="Tbl_usuario_x_gasolineraAddButton" causesvalidation="False" commandname="AddRecord" imageurl="../Images/ButtonBarNew.gif" onmouseout="this.src='../Images/ButtonBarNew.gif'" onmouseover="this.src='../Images/ButtonBarNewOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="prbbc"><asp:ImageButton runat="server" id="Tbl_usuario_x_gasolineraDeleteButton" causesvalidation="False" commandargument="DeleteOnUpdate" commandname="DeleteRecord" imageurl="../Images/ButtonBarDelete.gif" onmouseout="this.src='../Images/ButtonBarDelete.gif'" onmouseover="this.src='../Images/ButtonBarDeleteOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Delete&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="prbbc"><img src="../Images/ButtonBarDividerR.gif" alt="" /></td><td class="prspace"><img src="../Images/ButtonBarEdgeR.gif" alt="" /></td><td class="pra"><EnGasAdoAPP:PaginationMedium runat="server" id="Tbl_usuario_x_gasolineraPagination"></EnGasAdoAPP:PaginationMedium>
<!--To change the position of the pagination control, please search for "prspace" on the Online Help for instruction. -->
                      </td><td><img src="../Images/paginationRowEdgeR.gif" alt="" /></td><td></td></tr></table>
</td></tr><tr><td class="tre"><table cellpadding="0" cellspacing="0" border="0" width="100%" onkeydown="captureUpDownKey(this, event)"><tr class="tch"><th class="thcnb" colspan="3"><img src="../Images/space.gif" height="1" width="1" alt="" /></th><th class="thcwb" style="padding:0px;vertical-align:middle;"><asp:CheckBox runat="server" id="Tbl_usuario_x_gasolineraToggleAll" onclick="toggleAllCheckboxes(this);">	</asp:CheckBox></th><th class="thc" scope="col"><asp:LinkButton runat="server" id="id_usuarioLabel" tooltip="Sort by id_usuario" Text="ID Usuario" CausesValidation="False">	</asp:LinkButton>
                        </th></tr><asp:Repeater runat="server" id="Tbl_usuario_x_gasolineraTableControlRepeater">		<ITEMTEMPLATE>		<EnGasAdoAPP:Tbl_usuario_x_gasolineraTableControlRow runat="server" id="Tbl_usuario_x_gasolineraTableControlRow">
<tr><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="Tbl_usuario_x_gasolineraRowViewButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_view.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:ViewRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="Tbl_usuario_x_gasolineraRowEditButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_edit.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:EditRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="Tbl_usuario_x_gasolineraRowDeleteButton" causesvalidation="False" commandargument="DeleteOnUpdate" commandname="DeleteRecord" cssclass="button_link" imageurl="../Images/icon_delete.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:DeleteRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticwb"><asp:CheckBox runat="server" id="Tbl_usuario_x_gasolineraRecordRowSelection" onclick="moveToThisTableRow(this);">	</asp:CheckBox></td><td class="ttc" style="white-space:nowrap;"><asp:DropDownList runat="server" id="id_usuario" cssclass="field_input" onkeypress="dropDownListTypeAhead(this,false)"></asp:DropDownList>
<Selectors:FvLlsHyperLink runat="server" id="id_usuarioFvLlsHyperLink" ControlToUpdate="id_usuario" Text="&lt;%# GetResourceValue(&quot;LLS:Text&quot;, &quot;EnGasAdoAPP&quot;) %>" MinListItems="100" Table="Usuario" Field="Usuario_.id_usuario" DisplayField="Usuario_.Nombre_usuario"></Selectors:FvLlsHyperLink>&nbsp;
<asp:RequiredFieldValidator runat="server" id="id_usuarioRequiredFieldValidator" ControlToValidate="id_usuario" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueIsRequired&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;ID Usuario&quot;) %>" enabled="True" initialvalue="--PLEASE_SELECT--" text="*"></asp:RequiredFieldValidator> 
<asp:ImageButton runat="server" id="id_usuarioAddRecordLink" causesvalidation="False" commandname="Redirect" imageurl="../Images/iconNewFlat.gif" tooltip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton> </td></tr></EnGasAdoAPP:Tbl_usuario_x_gasolineraTableControlRow>
</ITEMTEMPLATE>

</asp:Repeater>
</table>
</td></tr></table>
</asp:panel></td></tr></table>
</EnGasAdoAPP:Tbl_usuario_x_gasolineraTableControl>

 </ContentTemplate></asp:TabPanel>
 <asp:TabPanel runat="server" id="PrecioTabPanel" HeaderText="Precio">	<ContentTemplate>
  <EnGasAdoAPP:PrecioTableControl runat="server" id="PrecioTableControl">	<table class="dv" cellpadding="0" cellspacing="0" border="0"><tr><td><asp:panel id="PrecioTableControlCollapsibleRegion" runat="server"><table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="pr"><table cellpadding="0" cellspacing="0" border="0" style="width: 100%;"><tr><td><img src="../Images/paginationRowEdgeL.gif" alt="" /></td><td class="prbbc"><img src="../Images/ButtonBarEdgeL.gif" alt="" /></td><td class="prbbc"><img src="../Images/ButtonBarDividerL.gif" alt="" /></td><td class="prbbc"><asp:ImageButton runat="server" id="PrecioAddButton" causesvalidation="False" commandname="AddRecord" imageurl="../Images/ButtonBarNew.gif" onmouseout="this.src='../Images/ButtonBarNew.gif'" onmouseover="this.src='../Images/ButtonBarNewOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="prbbc"><asp:ImageButton runat="server" id="PrecioDeleteButton" causesvalidation="False" commandargument="DeleteOnUpdate" commandname="DeleteRecord" imageurl="../Images/ButtonBarDelete.gif" onmouseout="this.src='../Images/ButtonBarDelete.gif'" onmouseover="this.src='../Images/ButtonBarDeleteOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Delete&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="prbbc"><img src="../Images/ButtonBarDividerR.gif" alt="" /></td><td class="prspace"><img src="../Images/ButtonBarEdgeR.gif" alt="" /></td><td class="pra"><EnGasAdoAPP:PaginationMedium runat="server" id="PrecioPagination"></EnGasAdoAPP:PaginationMedium>
<!--To change the position of the pagination control, please search for "prspace" on the Online Help for instruction. -->
                      </td><td><img src="../Images/paginationRowEdgeR.gif" alt="" /></td><td></td></tr></table>
</td></tr><tr><td class="tre"><table cellpadding="0" cellspacing="0" border="0" width="100%" onkeydown="captureUpDownKey(this, event)"><tr class="tch"><th class="thcnb" colspan="3"><img src="../Images/space.gif" height="1" width="1" alt="" /></th><th class="thcwb" style="padding:0px;vertical-align:middle;"><asp:CheckBox runat="server" id="PrecioToggleAll" onclick="toggleAllCheckboxes(this);">	</asp:CheckBox></th><th class="thc" scope="col"><asp:LinkButton runat="server" id="fechaLabel" tooltip="Sort by fecha" Text="Fecha" CausesValidation="False">	</asp:LinkButton>
                        </th><th class="thc" scope="col"><asp:LinkButton runat="server" id="precioLabel" tooltip="Sort by precio" Text="Precio" CausesValidation="False">	</asp:LinkButton>
                        </th><th class="thc" scope="col"><asp:LinkButton runat="server" id="ID_Tipo_gasolinaLabel" tooltip="Sort by ID_Tipo_gasolina" Text="ID Tipo Gasolina" CausesValidation="False">	</asp:LinkButton>
                        </th></tr><asp:Repeater runat="server" id="PrecioTableControlRepeater">		<ITEMTEMPLATE>		<EnGasAdoAPP:PrecioTableControlRow runat="server" id="PrecioTableControlRow">
<tr><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="PrecioRowViewButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_view.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:ViewRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="PrecioRowEditButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_edit.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:EditRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="PrecioRowDeleteButton" causesvalidation="False" commandargument="DeleteOnUpdate" commandname="DeleteRecord" cssclass="button_link" imageurl="../Images/icon_delete.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:DeleteRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticwb"><asp:CheckBox runat="server" id="PrecioRecordRowSelection" onclick="moveToThisTableRow(this);">	</asp:CheckBox></td><td class="ttc" style=""><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px; vertical-align:top">
<asp:TextBox runat="server" id="fecha" Columns="20" MaxLength="20" onkeyup="DateFormat(this, this.value, event.keyCode, 'dd/mm/yyyy')" cssclass="field_input"></asp:TextBox></td>
<td style="padding-right: 5px; white-space:nowrap;">
<%# SystemUtils.GenerateIncrementDecrementButtons(false, Container.FindControl("fecha"),"DateTextBox","dd/mm/yyyy","","") %>
</td>
<td>
<Selectors:CalendarExtendarClass runat="server" ID="fechaCalendarExtender" TargetControlID="fecha" CssClass="MyCalendar" Format="d">
</Selectors:CalendarExtendarClass>&nbsp;
<asp:RequiredFieldValidator runat="server" id="fechaRequiredFieldValidator" ControlToValidate="fecha" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueIsRequired&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;Fecha&quot;) %>" enabled="True" text="*"></asp:RequiredFieldValidator>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="fechaTextBoxMaxLengthValidator" ControlToValidate="fecha" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;Fecha&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
</tr>
</table>
 </td><td class="ttc" style=""><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px; vertical-align:top">
<asp:TextBox runat="server" id="precio" Columns="20" MaxLength="20" onkeyup="adjustCurrency(this, event.keyCode,' €', ',', 'True');" cssclass="field_input"></asp:TextBox></td>
<td style="padding-right: 5px; white-space:nowrap;">
<%# SystemUtils.GenerateIncrementDecrementButtons(false, Container.FindControl("precio"),"CurrencyTextBox"," €",",","True") %>
</td>
<td>
&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="precioTextBoxMaxLengthValidator" ControlToValidate="precio" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;Precio&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
</tr>
</table>
 </td><td class="ttc" style="white-space:nowrap;"><asp:DropDownList runat="server" id="ID_Tipo_gasolina" cssclass="field_input" onkeypress="dropDownListTypeAhead(this,false)"></asp:DropDownList>
<Selectors:FvLlsHyperLink runat="server" id="ID_Tipo_gasolinaFvLlsHyperLink" ControlToUpdate="ID_Tipo_gasolina" Text="&lt;%# GetResourceValue(&quot;LLS:Text&quot;, &quot;EnGasAdoAPP&quot;) %>" MinListItems="100" Table="Tipo_Gasolina" Field="Tipo_Gasolina_.ID_Tipo_Gasolina" DisplayField="Tipo_Gasolina_.descripcion"></Selectors:FvLlsHyperLink>&nbsp;
<asp:RequiredFieldValidator runat="server" id="ID_Tipo_gasolinaRequiredFieldValidator" ControlToValidate="ID_Tipo_gasolina" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueIsRequired&quot;, &quot;EnGasAdoAPP&quot;).Replace(&quot;{FieldName}&quot;, &quot;ID Tipo Gasolina&quot;) %>" enabled="True" initialvalue="--PLEASE_SELECT--" text="*"></asp:RequiredFieldValidator> 
<asp:ImageButton runat="server" id="ID_Tipo_gasolinaAddRecordLink" causesvalidation="False" commandname="Redirect" imageurl="../Images/iconNewFlat.gif" tooltip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton> </td></tr></EnGasAdoAPP:PrecioTableControlRow>
</ITEMTEMPLATE>

</asp:Repeater>
</table>
</td></tr></table>
</asp:panel></td></tr></table>
</EnGasAdoAPP:PrecioTableControl>

 </ContentTemplate></asp:TabPanel>
</asp:TabContainer></td></tr><tr><td class="recordPanelButtonsAlignment"><table cellpadding="0" cellspacing="0" border="0"><tr><td><EnGasAdoAPP:ThemeButton runat="server" id="SaveButton" button-causesvalidation="True" button-commandname="UpdateData" button-text="&lt;%# GetResourceValue(&quot;Btn:Save&quot;, &quot;EnGasAdoAPP&quot;) %>" button-tooltip="&lt;%# GetResourceValue(&quot;Btn:Save&quot;, &quot;EnGasAdoAPP&quot;) %>" postback="True"></EnGasAdoAPP:ThemeButton></td><td><EnGasAdoAPP:ThemeButton runat="server" id="CancelButton" button-causesvalidation="False" button-commandname="Redirect" button-text="&lt;%# GetResourceValue(&quot;Btn:Cancel&quot;, &quot;EnGasAdoAPP&quot;) %>" button-tooltip="&lt;%# GetResourceValue(&quot;Btn:Cancel&quot;, &quot;EnGasAdoAPP&quot;) %>" postback="False"></EnGasAdoAPP:ThemeButton></td></tr></table>
</td></tr></table>
    </ContentTemplate>
</asp:UpdatePanel>

    <div id="detailPopup" class="detailRolloverPopup" onmouseout="detailRolloverPopupClose();" onmouseover="clearTimeout(gPopupTimer);"></div>
    <asp:ValidationSummary id="ValidationSummary1" ShowMessageBox="true" ShowSummary="false" runat="server"></asp:ValidationSummary>
</asp:Content>
                